import './index.scss'
import {useStore} from "@/store/index.jsx";
import Item from './Item'

import { observer } from "mobx-react-lite";
const FoodList = () => {
    const {listStore} = useStore()

    return (<div className={'list-content'}>
        <div style={{fontSize:'14px',marginBottom:'10px'}}>{listStore.mainData.length>0&&listStore.mainData[listStore.menuIndex].name}</div>
        <Item></Item>

    </div>)
}
export default observer(FoodList)